using System;
using System.Collections.Generic;
using System.Linq;
namespace DIS_WEB_Client.Controllers
{
	#region using
	using DIS_WEB_Client.Helpers;
	#endregion
	public enum EnumViewModel
	{
		ADMIN_DETAILOF_CUSTOMER,
        ADMIN_DETAILOF_ITEM,
        ADMIN_DETAILOF_DAILYREPORT,
        ADMIN_DETAILOF_WEEKLYREPORT,
		ADMIN_CHEMISTWAREHOUSE,
		ADMIN_ITEM,
		ADMIN_ORDERDETAIL,
		ADMIN_ROLEFUNCTIONS,
		ADMIN_NATIONALPROMOTION,
		ADMIN_LOCALPROMOTION,
		ADMIN_EMPLOYEE,
		ADMIN_DAILYREPORT,
		ADMIN_WEEKLYREPORT,
		ADMIN_CUSTOMER,
		ADMIN_ORDERS,
		ADMIN_CATEGORY,
		ADMIN_FUNCTIONS,
		ADMIN_ROLE,

        ADMIN_REVENUE,
        ADMIN_ORDERS_REVENUE_EXECUTE,

		HOME_DETAILOF_Customer,
        HOME_INDEX,
        HOME_CATEGORY,
        HOME_PRODUCT,
        HOME_REGISTER,
        HOME_ACCOUNTINFO,
        HOME_ORDER,
        HOME_ORDERHISTORY,
        HOME_ORDERHISTORY_ORDERDETAIL
	}

	public class DataTransferViewModel
	{
		public int CurrentPage { get; set; }
		public EnumViewModel EnumViewModelType { get; set; }
		public string StrID { get; set; }
		public int IntID { get; set; }
		public Guid GuidID { get; set; }
		public string UserName { get; set; }
        public string Password { get; set; }
		public string Role { get; set; }
		public string InfoText { get; set; }
		public int IDCategory { get; set; }
		public int IDOrder { get; set; }
		public int IDItem { get; set; }
		public int IDRole { get; set; }
		public int IDFunction { get; set; }
		public int IDChemistWareHouse { get; set; }
		public int IDCustomer { get; set; }
        public DateTime ReportDate { get; set; }
        public DateTime StartReportDate { get; set; }
        public DateTime EndReportDate { get; set; }
        public DateTime From { get; set; }
        public DateTime To { get; set; }

		public DataTransferViewModel()
		{
			CurrentPage = 1;
			IDCategory = -1;
			IDOrder = -1;
			IDItem = -1;
			IDRole = -1;
			IDFunction = -1;
			IDChemistWareHouse = -1;
			IDCustomer = -1;
            ReportDate = DateTime.MinValue;
            StartReportDate = DateTime.MinValue;
            EndReportDate = DateTime.MinValue;
            From = DateTime.MinValue;
            To = DateTime.MinValue;
		}
	}
}